{use master_page('front/v_inner_master')}

{block main_body}

    <a name="top_top"></a>
    <div id="article_t">
        <h1 id="article_t_title">{article->title}</h1>
        时间：{article->contribute_time}　
        来源：{article->author}　
        点击：<font id="click_count" style="width:60px;"></font> 次

    </div>
    <div id="article_b">
        <?=$article->wrap_content?>
    </div>

    <div id="print">
        <span id="bdshare" class="bdshare_b">
            <img src="http://bdimg.share.baidu.com/static/images/type-button-1.jpg"/>
        </span>
        <script type="text/javascript" id="bdshare_js" data="'text':'{article->title}'"></script>
        <script type="text/javascript" id="bdshell_js"></script>
        <script type="text/javascript">
            document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();
        </script>
        <span id="bdshare_r">
            <?php
            $url =   "";
            if(isset($_SERVER['HTTP_X_REWRITE_URL'])){ // IIS
                $url = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
            }
            else if(isset($_SERVER['ORIG_PATH_INFO'])) { // IIS 5.0 CGI
                $url = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
            }
            else
            {
                $url = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'].'?'.$_SERVER['QUERY_STRING'];
            }
            ?>
            〖<a href="javascript:print();">打印</a>〗&nbsp;&nbsp;
            〖<a href="<?php echo $url."#top_top"?>">向上</a>〗
        </span>
    </div>



    <!--div id="news_more">
        <ul>
            <li>上一篇：<a href="#"></a></li>
            <li>下一篇：<a href="#">平安江淮 智慧安防</a></li>
        </ul>
    </div-->
    <!-- 新闻详细 -->
    <div id="list_page"></div>

    <script>
        $(document).ready(function(){
            var url = "<?=_U("article/click/".$article->id)?>";
            $.get(url,function(data){
                $("#click_count").html(data);
            })
        })
    </script>
{end}